import request from '@/utils/request'


export function questionTypeList(query) {
  return request({
    url: '/manager/dict/questionType/list',
    method: 'get',
    params: query
  })
}

export function questionTypeAdd(query) {
    return request({
      url: '/manager/dict/questionType/add',
      method: 'post',
      params: query
    })
  }

  export function questionTypeEdit(query) {
    return request({
      url: '/manager/dict/questionType/update',
      method: 'post',
      params: query
    })
  }

  export function questionTypeDelete(id) {
    return request({
      url: '/manager/dict/questionType/delete?typeCode='+ id,
      method: 'delete',
    })
  }

  